﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Pay.DTO {
    public class product_activity_dto {
        /// <summary>
        /// 主键Id
        /// </summary>
        public long id { get; set; }

        /// <summary>
        /// 产品Id
        /// </summary>
        public long product_id { get; set; }

        /// <summary>
        /// 产品SkuId
        /// </summary>
        public long product_sku_id { get; set; }

        /// <summary>
        /// 活动Id
        /// </summary>
        public long activity_id { get; set; }

        /// <summary>
        /// 活动价格现金部分
        /// </summary>
        public decimal activity_price { get; set; }

        /// <summary>
        /// 活动价格红钻部分
        /// </summary>
        public decimal activity_red_drill { get; set; }
        
        /// <summary>
        /// 活动库存
        /// </summary>
        public int activity_stock { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime create_time { get; set; }

        /// <summary>
        /// 是否售尽
        /// </summary>
        public bool is_sold_out { get; set; }
       
        /// <summary>
        /// 销售数量
        /// </summary>
        public int sale_count { get; set; }
        /// <summary>
        /// 排序（倒序：值越大越靠前）
        /// </summary>
        public int top { get; set; }

        /// <summary>
        /// 活动
        /// </summary>
        public activity_dto activity { get; set; }
        
        /// <summary>
        /// 产品
        /// </summary>
        public product_dto product { get; set; }

        /// <summary>
        /// 产品规格
        /// </summary>
        public product_sku_dto product_sku { get; set; }

        /// <summary>
        /// 限时购
        /// </summary>
        public product_activity_time_buy_dto product_activity_time_buy { get; set; }

        /// <summary>
        /// 创客商品
        /// </summary>
        public product_token_maker_dto product_token_maker { get; set; }


    }
}
